import { createStore } from 'vuex'

const store = createStore({
	state: {
		isLoading: true,
		playInfo: null
	},
	mutations: {
		setLoading(state, payload) {
			state.isLoading = payload
		}
	}
})
export default store
